<script>
export default {
  props:{
    item:{
      type: Object,
      require: true
    }
  }
}
</script>

<template>
<div class="card_box">
  <div class="title">{{item.title}}</div>
  <img :src="item.pic" alt="">
</div>
</template>

<style scoped>
img{
  width: 200px;
  height: 100px;
}
.card_box{
  text-align: center;
}
</style>
